package com.wxp.cloud.client.user;

import com.wxp.cloud.common.model.model.user.UserInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * 用户信息Feign接口
 * //@FeignClient：指定服务名称
 *
 * @author wxp
 */
@FeignClient(value = "wxp-service-user")
public interface UserInfoFeignClient {

    @GetMapping("/admin/user/userInfo/inner/getById/{id}")
    UserInfo getById(@PathVariable Long id);
}
